using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Utility;
using ENTITIES;
using BUS;


public partial class admin_ChiTietDiemDen : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            LoadData();
        }
    }
    private void LoadData()
    {
        try
        {
            int id = int.Parse(Request.QueryString["ID"]);
            TBDiemDen diemden = DiemDenBUS.GetByID(id);
            lit_MaDiemDen.Text = diemden.madiemden.ToString();
            lit_TenDiemDen.Text = diemden.tendiemden;
         

        }
        catch
        {
            Response.Redirect("~/admin/DoanhSachDiemDen.aspx");
        }
    }
}
